package org.genntii.warehousesystem.domain.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("goods_procurement")
public class GoodsProcurement {
    @TableId
    private int id;
    private String wid;
    @TableField("goods_id")
    private int goodsId;
    @TableField("warehouse_id")
    private int warehouseId;
    @TableField("operator_id")
    private int operatorId;
    private int num;
    private BigDecimal price;
    @TableField("in_date")
    private LocalDateTime inDate;
}
